import request,{PageSearchRequest} from '@/utils/http-client';


export declare type CaseListRequest = {
    TableId: Number;
    Id: Number; // 序号
    BusinessNo:string; //借据编号
    ContractNo:string; //合同编号
    CustomerID:string; //客户身份证号码
   
    FullText:string;
}

export async function Case_Columns(params: any): Promise<any> {
    return request({
        url: '/Case/Columns',
        method: 'GET',
        data: params,
    });
}

export async function Case_List(params?: PageSearchRequest<CaseListRequest>): Promise<any> {
    return request({
        url: '/Case/List',
        method: 'POST',
        data: params,
    });
}
